<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>FEUP-Defender: Referência ao ficheiro video-text/video-text.h</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "../../search",false,'Localizar');
--></script>
<script type="text/javascript">
<!--
function changeDisplayState (e){
  var num=this.id.replace(/[^[0-9]/g,'');
  var button=this.firstChild;
  var sectionDiv=document.getElementById('dynsection'+num);
  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
    sectionDiv.style.display='block';
    button.src='../../open.gif';
  }else{
    sectionDiv.style.display='none';
    button.src='../../closed.gif';
  }
}
function initDynSections(){
  var divs=document.getElementsByTagName('div');
  var sectionCounter=1;
  for(var i=0;i<divs.length-1;i++){
    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
      var header=divs[i];
      var section=divs[i+1];
      var button=header.firstChild;
      if (button!='IMG'){
        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
        button=document.createElement('img');
        divs[i].insertBefore(button,divs[i].firstChild);
      }
      header.style.cursor='pointer';
      header.onclick=changeDisplayState;
      header.id='dynheader'+sectionCounter;
      button.src='../../closed.gif';
      section.id='dynsection'+sectionCounter;
      section.style.display='none';
      section.style.marginLeft='14px';
      sectionCounter++;
    }
  }
}
window.onload = initDynSections;
-->
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="../../index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="../../modules.html"><span>Módulos</span></a></li>
      <li><a href="../../annotated.html"><span>Estruturas&nbsp;de&nbsp;dados</span></a></li>
      <li class="current"><a href="../../files.html"><span>Ficheiros</span></a></li>
      <li><a href="../../dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="../../search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Localizar" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="../../files.html"><span>Lista&nbsp;de&nbsp;ficheiros</span></a></li>
      <li><a href="../../globals.html"><span>Globais</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="../../dir_2ea2b06f96b5ff884113b2d485ad5809.html">video-text</a>
  </div>
</div>
<div class="contents">
<h1>Referência ao ficheiro video-text.h</h1><code>#include &lt;sys/farptr.h&gt;</code><br/>
<code>#include &lt;go32.h&gt;</code><br/>
<code>#include &quot;../utypes.h&quot;</code><br/>
<div class="dynheader">
Diagrama de dependências de inclusão para video-text.h:</div>
<div class="dynsection">
<div class="center"><img src="../../d6/dea/video-text_8h__incl.png" border="0" usemap="#video-text_2video-text_8h_map" alt=""/></div>
</div>
<div class="dynheader">
Este grafo mostra quais são os ficheiros que incluem directamente ou indirectamente este ficheiro:</div>
<div class="dynsection">
<div class="center"><img src="../../da/dda/video-text_8h__dep__incl.png" border="0" usemap="#video-text_2video-text_8hdep_map" alt=""/></div>
</div>

<p><a href="../../d8/d1d/video-text_8h_source.html">Ir para o código fonte deste ficheiro.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Macros</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Bit meaning in attribute byte</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpa6083135d7f78e4556dc20b0e06144aa"></a> (see color definitions in system header file conio.h) </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#gaa0852016db20e3d95e89c9cfe06d77e5">AQUA_BACK</a>&nbsp;&nbsp;&nbsp;(BLUE_BACK | GREEN_BACK)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga38779351433b604698f05e98c6c85f3c">BLUE_BACK</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 4)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Background blue bit.  <a href="../../d6/df8/group__VideoText.html#ga38779351433b604698f05e98c6c85f3c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#gaf033cdad58c0882be7d5f4f6e8e51cc5">BLUE_FOREG</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Foreground blue bit.  <a href="../../d6/df8/group__VideoText.html#gaf033cdad58c0882be7d5f4f6e8e51cc5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga8d30d8ed6e3aa0e1ed94a55d10098668">GREEN_BACK</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 5)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Background gren bit.  <a href="../../d6/df8/group__VideoText.html#ga8d30d8ed6e3aa0e1ed94a55d10098668"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga6930edb189b477929f9860eb18f9eb28">GREEN_FOREG</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 1)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Foreground green bit.  <a href="../../d6/df8/group__VideoText.html#ga6930edb189b477929f9860eb18f9eb28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga9432bc0e0317970ad6b3dea1555d9921">LIGHTGRAY_BACK</a>&nbsp;&nbsp;&nbsp;(BLUE_BACK | GREEN_BACK | RED_BACK)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga1291f416b069313021b519eea62d5bf1">NORMAL</a>&nbsp;&nbsp;&nbsp;(RED_FOREG | GREEN_FOREG | BLUE_FOREG)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">handy definition  <a href="../../d6/df8/group__VideoText.html#ga1291f416b069313021b519eea62d5bf1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga4276746c320d3e5290ef1ee3d3f5c83d">PURPLE_BACK</a>&nbsp;&nbsp;&nbsp;(BLUE_BACK | RED_BACK)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#gaba6c0183ebb09921a6cbb31fd143310b">RED_BACK</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 6)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Background red bit.  <a href="../../d6/df8/group__VideoText.html#gaba6c0183ebb09921a6cbb31fd143310b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#gafdb9aad619ebc55ef35dbca7d3d29f67">RED_FOREG</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Foreground red bit.  <a href="../../d6/df8/group__VideoText.html#gafdb9aad619ebc55ef35dbca7d3d29f67"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#gaefba0529f534f0403d79db250c5e266f">STRONG</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 3)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Foreground intensity bit.  <a href="../../d6/df8/group__VideoText.html#gaefba0529f534f0403d79db250c5e266f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga1fd19b5b07308b98224e33d2b15ad168">YELLOW_BACK</a>&nbsp;&nbsp;&nbsp;(GREEN_BACK | RED_BACK)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Screen and video memory definitions in text mode</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpde283e0ecf193292c6802d7683994226"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#gaed89bd71aee8be823e8a20ec4e093c1e">HEIGHT</a>&nbsp;&nbsp;&nbsp;25</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of rows.  <a href="../../d6/df8/group__VideoText.html#gaed89bd71aee8be823e8a20ec4e093c1e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga68707f77202e77a891e4f56e1f9b0219">VIDEO_TEXT</a>&nbsp;&nbsp;&nbsp;0xB8000</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Video address in text mode.  <a href="../../d6/df8/group__VideoText.html#ga68707f77202e77a891e4f56e1f9b0219"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga241aeeb764887ae5e3de58b98f04b16d">WIDTH</a>&nbsp;&nbsp;&nbsp;80</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of columns.  <a href="../../d6/df8/group__VideoText.html#ga241aeeb764887ae5e3de58b98f04b16d"></a><br/></td></tr>
<tr><td colspan="2"><h2>Funções</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Usefull functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpc1a8ddfe14477d59fa213a4623a678bb"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/db9/group__UserTypes.html#ga718b4eb2652c286f4d42dc18a8e71a1a">ulong</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga5876c9f47ae08936a6634ecf22e09ea9">calcMemPosition</a> (int x, int y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/db9/group__UserTypes.html#ga39db6982619d623273fad8a383489309">Bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#gaf265e000b8df8f8ef7fc11b782a7c0ed">drawFrame</a> (char *title, char attributes, int x, int y, int width, int height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/db9/group__UserTypes.html#ga39db6982619d623273fad8a383489309">Bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga567e3669990f4c2f44549253c9bc0d6a">drawTable</a> (char attributes, int x, int y, int n_lin, int n_col)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga5077f8c181f7342c6bb640c65b4977a2">fillScreen</a> (char background)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga46332f39e1e5b8dd850f8e379f10ba1d">getAttributesAt</a> (int x, int y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#gaf84d8188b4820f9535fcfe8d970e2838">getCharAt</a> (int x, int y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/db9/group__UserTypes.html#ga39db6982619d623273fad8a383489309">Bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#gaa57acc96a0a70498025a2027fba89536">printCharAt</a> (char ch, int x, int y, char attributes)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/db9/group__UserTypes.html#ga39db6982619d623273fad8a383489309">Bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga6a34b0b18d5e443e272a66262d15bb1a">printIntAt</a> (int num, int x, int y, char attributes)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#gae79b53b8b2666d7d50cb6b1b8b10e677">printLineAt</a> (char ch, int xi, int yi, int xf, int yf, char attributes)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga4cd78efdaa310697b6e14cdee164f400">printSizedStringAt</a> (char *str, int n_char, int x, int y, char attributes)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/db9/group__UserTypes.html#ga39db6982619d623273fad8a383489309">Bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df8/group__VideoText.html#ga0313826471a670c22f918e8f2321ed42">printStringAt</a> (char *str, int x, int y, char attributes)</td></tr>
</table>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Tudo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Estruturas de dados</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Ficheiros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Definições de tipos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerações</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Valores da enumeração</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Gerado em Tue Jun 1 21:46:46 2010 para FEUP-Defender por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
